package com.wnx.job.modules.nms.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wnx.job.modules.nms.dto.ArticleAttachmentParam;
import com.wnx.job.modules.nms.model.NmsArticleAttachment;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangnaixing
 * @since 2021-12-16
 */
public interface NmsArticleAttachmentMapper extends BaseMapper<NmsArticleAttachment> {

    /**
     * 根据ID查询咨询附件详情
     * @param id
     * @return
     */
    ArticleAttachmentParam findById(Long id);

    /**
     * 查询全部咨询附件
     * @return
     */
    List<ArticleAttachmentParam> findAll();
}
